package com.aerfafish.spider.neo4j.dao;

import lombok.Data;
import org.neo4j.ogm.annotation.EndNode;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.RelationshipEntity;
import org.neo4j.ogm.annotation.StartNode;

/**
 * @author aerfafish
 * @date 2021/4/23 11:04 上午
 */
@RelationshipEntity(type = "PERSON_MANAGED_FUND")
@Data
public class PersonManaged {

    @Id
    Long id;

    @StartNode
    Person person;

    @EndNode
    Company company;
}
